<extend name="Public/base"/>

<block name="style">
<link href="__CSS__/jtbk.css" rel="stylesheet" type="text/css"/>
</block>
<block name="content">   
    <ul class="nav nav-tabs">
    <li ><a href="{:U('Index/index')}">首页</a></li>
   <li class="active"><a href="{:U('Beike/upload')}">资料上传</a></li>
   <li><a href="{:U('Beike/addsubject')}">课程管理</a></li>
   <li><a href="{:U('Beike/myupload','id='.$vo['id'])}" >我的上传情况</a><li>
   </ul>
	<!-- 标题栏 -->
           <h3>集体备课资料上传 </h3>  
      <div class="form-inline">
        <form method='post' id="form" name="form"  enctype="multipart/form-data" action="" >      
           <div class="col-xd-3 form-group">
           <label class="control-lable" for="class">学　　科：</label>
           <select name="sid" id="sid" class="form-control"  style="width:180px;">
            <option value="" > 请选择学科</option>
            <volist name="sublist" id="vo">
            <option value="{$vo.id}" >{$vo.subject}</option>            
            </volist>
             </select>                  
            </div>
            <div class="col-xd-4 form-group">
           <label class="control-lable" for="grade">年　　级：</label>
           <select name="grade" id="grade" class="form-control"  style="width:180px;">
            <option value="" > 请选择年级</option>
            <option value="一年级上" > 一年级上</option>
            <option value="一年级下" > 一年级下</option>
            <option value="二年级上" > 二年级上</option>
            <option value="二年级下" > 二年级下</option>
            <option value="三年级上" > 三年级上</option>
            <option value="三年级下" > 三年级下</option>
            <option value="四年级上" > 四年级上</option>
            <option value="四年级上" > 四年级下</option>
            <option value="五年级上" > 五年级上</option>
            <option value="五年级下" > 五年级下</option>
            <option value="六年级上" > 六年级上</option>
            <option value="六年级下" > 六年级下</option>
             </select>                  
            </div>
            <div></div>  
            <div class="form-group">
                 <label class="control-lable">学　　年：</label>           
                <input class="form-control" type="text"  name="year" value="{:C('CUR_YEAR')}" placeholder="学年">
           </div>


            <div class="form-group">
                 <label class="control-lable">上传教师：</label>           
                <input class="form-control" type="text"  name="teacher" value="{$my.teacher}" placeholder="请输入姓名"><span class="check-tips">如果未能正确显示姓名，请重新登录</span>   
        　　</div><br/>   
               
            <div class="form-group">
                 <label class="control-lable">课题名称：</label>            
                <input class="form-control" type="text"  name="title" value="" placeholder="请输入课题名称"> 
                <span class="check-tips">请按以下格式填写“第几课+课文标题”如“第1课窃读记”或“第几单元综合练习”等</span>   
          </div><br/>
        <div class="row">
            <div class="col-md-4 form-group">
                 <label class="control-lable">第几教时：</label>            
                <input class="form-control" type="text"  name="jxtime" value="第1教时"　placeholder="第1教时" >    
            </div>

          </div>
         </div>
        <div class="row">     
          <div class="col-md-8 form-group">
            <label class="control">集体备课附件：
            <span class="check-tips">（请以附件形式上传集体备课电子文档）</span> </label>
            <div class="controls">
               <input class="form-control" type="file" size="30" name="upfile" />
            </div>
          </div>
          <div class="col-md-4"><span class="check-tips"><br/>（上传前请按课题名称命名文件）</span>
          </div>
        </div>


           <div class="col-md-10 form-group">
            <label class="control-lable">集体备课内容：<span class="check-tips">（请在下面填写备课内容）</span></label>
            <div class="controls">
              <textarea name="content" class="text input-large"></textarea>
              {:hook('adminArticleEdit', array('name'=>'content','value'=>$data['content']))}
            </div>
            </div>
      <div class="col-md-10 form-actions"> 
        <button type="submit" class="btn btn-primary">确定上报</button>
        <button type="button" class="btn btn-danger">取消</button>  
        </div>
      </form> 
      </div>  
 </div> 
</block>

